<#escape x as (x)!> <#include "basenosidebar.ftl"/> <#macro title> ${config.blogTitle} - 设置 </#macro> <#macro main>
<form method=post>
	<table CellSpacing=1 cellpadding=0 border=0>
		<tbody>
			<tr>
				<td>
					<label>
						标题:
					</label>
				</td>
				<td>
					<input name=blogTitle id=blogTitle value="${config.blogTitle}" />
				</td>
			</tr>
			<tr>
				<td>
					<label>
						主机地址:
					</label>
				</td>
				<td>
					<input name=host id=host value="${config.host}" size=30 />
				</td>
			</tr>
			<tr>
				<td>
					<label>
						每页帖子数:
					</label>
				</td>
				<td>
					<input name=postnumperpage id=postnumperpage value="${config.postnumperpage}" />
				</td>
			</tr>
			<tr>
				<td>
					<label>
						首页评论数:
					</label>
				</td>
				<td>
					<input name=recentCommentCount id=recentCommentCount value="${config.recentCommentCount}" />
				</td>
			</tr>
			<tr>
				<td>
					<label>
						首页留言数:
					</label>
				</td>
				<td>
					<input name=recentGuestBookCount id=recentGuestBookCount value="${config.recentGuestBookCount}" />
				</td>
			</tr>
			<tr>
				<td>
					<label>
						Rss输出数:
					</label>
				</td>
				<td>
					<input name=feedCount id=feedCount value="${config.feedCount}" />
				</td>
			</tr>
			<tr>
				<td>
					<label>
						新发表帖子数:
					</label>
				</td>
				<td>
					<input name=recentPostCount id=recentPostCount value="${config.recentPostCount}" />
				</td>
			</tr>
			<tr>
				<td>
					<label>
						metaweblog API地址:
					</label>
				</td>
				<td>
					<label>
						${config.host}api/xml-rpc
					</label>
				</td>
			</tr>
			<tr>
				<td>
					<label>
						metaweblog API用户名:
					</label>
				</td>
				<td>
					<input name=metaWeblogUserName id=metaWeblogUserName value="${config.metaWeblogUserName}" />
				</td>
			</tr>
			<tr>
				<td>
					<label>
						metaweblog API密码:
					</label>
				</td>
				<td>
					<input name=metaWeblogPassword id=metaWeblogPassword value="${config.metaWeblogPassword}" />
				</td>
			</tr>
			<tr>
				<td>
					<label>
						Google reader账户:
					</label>
				</td>
				<td>
					<input name=googleReaderUserName id=googleReaderUserName value="${config.googleReaderUserName}" size=30 />
				</td>
			</tr>
			<tr>
				<td>
					<label>
						Google reader密码:
					</label>
				</td>
				<td>
					<input name=googleReaderPassword id=googleReaderPassword value="${config.googleReaderPassword}" />
				</td>
			</tr>
			<tr>
				<td>
					<label>
						Picasa用户名:
					</label>
				</td>
				<td>
					<input name=picasaUserName id=picasaUserName value="${config.picasaUserName}" />
				</td>
			</tr>
			<tr>
				<td>
					<label>
						Picasa相册名:
					</label>
				</td>
				<td>
					<input name=picasaAlbumName id=picasaAlbumName value="${config.picasaAlbumName}" />
				</td>
			</tr>
			<tr>
				<td>
					<label>
						豆瓣userid:
					</label>
				</td>
				<td>
					<input name=doubanUserId id=doubanUserId value="${config.doubanUserId}" />
				</td>
			</tr>
			<tr>
				<td>
					<label>
						HEAD插入内容:
					</label>
				</td>
				<td>
					<textarea name=headtext id=headtext style="width: 600px; height: 100px;">${config.headText}</textarea>
				</td>
			</tr>
			<tr>
				<td>
					<label>
						BODY插入内容:
					</label>
				</td>
				<td>
					<textarea name=bodytext id=bodytext style="width: 600px; height: 100px;">${config.bodyText}</textarea>
				</td>
			</tr>
			<tr>
				<td>
					<label>
						页面底部插入内容:
					</label>
				</td>
				<td>
					<textarea name=footertext id=footertext style="width: 600px; height: 100px;">${config.footerText}</textarea>
				</td>
			</tr>
			<tr>
				<td>
					<label>
						文章后插入内容:
					</label>
				</td>
				<td>
					<textarea name=posttext id=posttext style="width: 600px; height: 100px;">${config.postText}</textarea>
				</td>
			</tr>

			<tr>
				<td>
					<input type="submit" value="提交" />
				</td>
			</tr>
		</tbody>
	</table>
</form>

</#macro> </#escape>
